--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit ab27f17ea97401beea450c985d33c2cdaefb2f1d
Parents : c069907
Author : Mark Qvist <mark@unsigned.io>
Date : 2021-05-14T17:51:38+02:00
Fixed self-signature verification warnings
Changes
Diff
diff --git a/nomadnet/NomadNetworkApp.py b/nomadnet/NomadNetworkApp.py
index 7d08ecd..56b194e 100644
--- a/nomadnet/NomadNetworkApp.py
+++ b/nomadnet/NomadNetworkApp.py
@@ -109,6 +109,14 @@ class NomadNetworkApp:
self.message_router.register_delivery_callback(self.lxmf_delivery)
self.lxmf_destination = self.message_router.register_delivery_identity(self.identity)
+
+ RNS.Identity.remember(
+ packet_hash=None,
+ destination_hash=self.lxmf_destination.hash,
+ public_key=self.identity.pub_bytes,
+ app_data=None
+ )
+
RNS.log("LXMF Router ready to receive on: "+RNS.prettyhexrep(self.lxmf_destination.hash))
self.directory = nomadnet.Directory.Directory(self)
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────